/*
 * @Author: leechoy 1419352779@qq.com
 * @Date: 2024-04-14 15:01:14
 * @LastEditors: leechoy 1419352779@qq.com
 * @LastEditTime: 2024-07-07 17:14:29
 * @FilePath: /H5_SCAN/Front/H5_SCAN/src/api/scanManage/scanlist.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */


import { request } from './../../core/request'

import { handleGetParmas} from '@/utils/index'

/**
 * @description: 获取历史检测列表数据
 * @param {*} params
 * @return {*}
 */
export const queryScanListData = ( params = {url:'',manager:"",pass:"",businesslines:"",type:""})=> {
    return request(handleGetParmas('/api/checklist',params),'get','');
  }


/**
 * @description: 添加检测数据
 * @param {*} params
 * @return {*}
 */
export const  addSCANURL = (params = {}) =>{
  return request('/api/checklist/add','post',params);
}

/**
 * @description: 添加检测数据
 * @param {string} id 链接id
 * @return {*}
 */
export const deleteScanURL = (id)=>{
  
}